/**
 * 
 */
package com.haisen.lee.domain;

import java.net.URL;
import java.util.ArrayList;
import java.util.List;

/**
 * @author Haisen Lee
 * 
 */
public class Form {

	private String formId;
	private String formMethod;
	private String originalAction;
	private URL realAction;
	private String strRealAction;

	public String getFormId() {
		return formId;
	}

	public void setFormId(String formId) {
		this.formId = formId;
	}

	public String getFormMethod() {
		return formMethod;
	}

	public void setFormMethod(String formMethod) {
		this.formMethod = formMethod;
	}

	public String getOriginalAction() {
		return originalAction;
	}

	public void setOriginalAction(String originalAction) {
		this.originalAction = originalAction;
	}

	public URL getRealAction() {
		return realAction;
	}

	public void setRealAction(URL realAction) {
		this.realAction = realAction;
	}

	public String getStrRealAction() {
		return strRealAction;
	}

	public void setStrRealAction(String strRealAction) {
		this.strRealAction = strRealAction;
	}

	public String getOnSubmit() {
		return onSubmit;
	}

	public void setOnSubmit(String onSubmit) {
		this.onSubmit = onSubmit;
	}

	public List<FormItem> getFormItems() {
		return formItems;
	}

	public void setFormItems(List<FormItem> formItems) {
		this.formItems = formItems;
	}

	public SearchPage getSearchPage() {
		return searchPage;
	}

	public void setSearchPage(SearchPage searchPage) {
		this.searchPage = searchPage;
	}

	private String onSubmit;

	private List<FormItem> formItems = new ArrayList<FormItem>();

	private SearchPage searchPage;

	/**
	 * 
	 */
	public Form() {
		super();
	}

}
